<?php
/**
 * @copyright   Copyright (c) 2017 http://www.brsttech.com All rights reserved.
 * @license     Licensed (http://www.apache.org/licenses/LICENSE-2.0).
 * @author      pillar<ltmn@qq.com>
 * 后台首页
 */
namespace app\admin\controller;
use app\common\controller\Admin;

class Index extends Admin{

    /**
     * 后台主框架
     */
    public function index()
    {
        $view['login'] = $this->getLoginSession();
        return view('index',$view);
    }

    /**
     * 后台首页
     */
    public function welcome()
    {
        $view['pagetitle'] = '欢迎页';
        return view('welcome',$view);
    }

    /**
     * 后台管理菜单
     * @return json
     */
    public function menu()
    {
       
    }
}